package com.zlm.common.entity;

import com.zlm.common.base.BaseEntity;
import com.zlm.common.constants.NumberConstants;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 员工考勤表
 * @Author: duyufu
 * @Date: 2019/5/27 10:40
 */
public class EmpPunchDO extends BaseEntity {
    private static final long serialVersionUID = 1157570584540017197L;

    private Integer eid;

    private Integer workTimeId;

    private Integer entryId;

    private Date punchDate;

    private Date shouldPunchTime;

    private Date punchTime;

    private String punchAddress;

    private Integer punchType;

    private Integer status;

    private Integer timeError;

    private Integer addressError;

    private BigDecimal punchLng;

    private BigDecimal punchLat;

    private String content;

    private Integer category;

    public EmpPunchDO() {
        this.timeError = NumberConstants.NUM_0;
        this.addressError = NumberConstants.NUM_0;
        this.category = NumberConstants.NUM_1;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public java.lang.Integer getWorkTimeId() {
        return workTimeId;
    }

    public void setWorkTimeId(java.lang.Integer workTimeId) {
        this.workTimeId = workTimeId;
    }

    public java.lang.Integer getEntryId() {
        return entryId;
    }

    public void setEntryId(java.lang.Integer entryId) {
        this.entryId = entryId;
    }

    public Date getPunchDate() {
        return punchDate;
    }

    public void setPunchDate(Date punchDate) {
        this.punchDate = punchDate;
    }

    public Date getShouldPunchTime() {
        return shouldPunchTime;
    }

    public void setShouldPunchTime(Date shouldPunchTime) {
        this.shouldPunchTime = shouldPunchTime;
    }

    public Date getPunchTime() {
        return punchTime;
    }

    public void setPunchTime(Date punchTime) {
        this.punchTime = punchTime;
    }

    public String getPunchAddress() {
        return punchAddress;
    }

    public void setPunchAddress(String punchAddress) {
        this.punchAddress = punchAddress;
    }

    public java.lang.Integer getPunchType() {
        return punchType;
    }

    public void setPunchType(java.lang.Integer punchType) {
        this.punchType = punchType;
    }

    public java.lang.Integer getStatus() {
        return status;
    }

    public void setStatus(java.lang.Integer status) {
        this.status = status;
    }

    public java.lang.Integer getTimeError() {
        return timeError;
    }

    public void setTimeError(java.lang.Integer timeError) {
        this.timeError = timeError;
    }

    public java.lang.Integer getAddressError() {
        return addressError;
    }

    public void setAddressError(java.lang.Integer addressError) {
        this.addressError = addressError;
    }

    public BigDecimal getPunchLng() {
        return punchLng;
    }

    public void setPunchLng(BigDecimal punchLng) {
        this.punchLng = punchLng;
    }

    public BigDecimal getPunchLat() {
        return punchLat;
    }

    public void setPunchLat(BigDecimal punchLat) {
        this.punchLat = punchLat;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public java.lang.Integer getCategory() {
        return category;
    }

    public void setCategory(java.lang.Integer category) {
        this.category = category;
    }

    @Override
    public String toString() {
        return "EmpPunchDO{" +
                "eid=" + eid +
                ", workTimeId=" + workTimeId +
                ", entryId=" + entryId +
                ", punchDate=" + punchDate +
                ", shouldPunchTime=" + shouldPunchTime +
                ", punchTime=" + punchTime +
                ", punchAddress='" + punchAddress + '\'' +
                ", punchType=" + punchType +
                ", status=" + status +
                ", timeError=" + timeError +
                ", addressError=" + addressError +
                ", punchLng=" + punchLng +
                ", punchLat=" + punchLat +
                ", content='" + content + '\'' +
                ", category=" + category +
                '}';
    }
}
